#ifndef MINIBASIC_HELPERS_H
#define MINIBASIC_HELPERS_H

#pragma once

#include "stdafx.h"

struct ComInitializer
{
    ComInitializer(DWORD dwInit = COINIT_APARTMENTTHREADED)
    {
        CoInitializeEx(NULL, dwInit);
    }

    ~ComInitializer()
    {
        CoUninitialize();
    }
};

#endif
